package jin.si.com.suo;

/**
 * @description:
 * @ClassName TetsPerson
 * @Author MT
 * @Date 2021/7/4 15:11
 **/
public class TetsPerson {

    public static void main(String[] args) {
        //共享资源
        Person p=new Person();

        RroRunnable pro=new RroRunnable(p);
        CilentMyRunnable c=new CilentMyRunnable(p);

        Thread pro_t=new Thread(pro);
        Thread c_t=new Thread(c);

        pro_t.start();
        c_t.start();

    }

}
